package services.impl;


import dao.UserDao;
import services.UserServices;


public class UserServicesImpl implements UserServices {
//       private UserDao ud = new UserDaoImpl2();
    private UserDao ud;

    @Override
    public void sayHi() {
        ud.userInfo();
        System.out.println("hi 这里是UserServices");
    }

    public UserDao getUd() {
        return ud;
    }

    public void setUd(UserDao ud) {
        this.ud = ud;
    }
}
